package com.hksj.base.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DeviceOverviewQuery implements Serializable {

    private static final long serialVersionUID = 7097259775698287161L;

    @NotBlank(message = "专业编码不能为空")
    @ApiModelProperty("专业编码")
    private String specialityCode;

    @ApiModelProperty("产品类别编码(特气泄漏(特气泄漏监测传感器：Teqxl；气体压力传感器：Qityl)；能耗(电表：DianB；水表：ShuiB))")
    private String productClassifiedCode;

    @ApiModelProperty("节点路径 paths = buildingId,floorId  传paths可不传buildingId floorId，反之亦然")
    private String paths;

    @ApiModelProperty("科室编码")
    private String departmentItemValue;

    @ApiModelProperty("产品id 分类查自控柜温控设备、漏水感应设备时传对应的产品id")
    private String productId;
}
